//---------------------------------------------------------------------------

#ifndef intervalSFH
#define intervalSFH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "AdvToolBar.hpp"
#include "AdvToolBarStylers.hpp"
#include "AdvGrid.hpp"
#include "AdvObj.hpp"
#include "BaseGrid.hpp"
#include <Vcl.Grids.hpp>
#include "AdvEdit.hpp"
#include <Data.DB.hpp>
#include <Data.Win.ADODB.hpp>
#include <Vcl.ComCtrls.hpp>
//---------------------------------------------------------------------------
class Tintervals : public TAdvToolBarForm
{
__published:	// IDE-managed Components
	TAdvToolBarPager *tb1;
	TAdvPage *advpg1;
	TAdvPage *advpg2;
	TDataSource *dsReverse;
	TADOQuery *qryReverse;
	TDataSource *dsRuns;
	TADOQuery *qryRuns;
	TAdvToolBarOfficeStyler *advtlbrfcstylr1;
	TPageControl *pgc1;
	TTabSheet *tsShow;
	TTabSheet *tsEdit;
	TAdvStringGrid *sgStop2;
	TAdvStringGrid *sgStop1;
	TLabel *lblStop1;
	TLabel *lblStop2;
	TAdvEdit *edtCount1;
	TAdvEdit *edtCount0;
	TComboBox *cbRoutes;
	TLabel *lbl1;
	TAdvStringGrid *sgTimetable;
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall cbRoutesChange(TObject *Sender);
	void __fastcall FormResize(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall Tintervals(TComponent* Owner);
	void __fastcall LoadRuns();
};
//---------------------------------------------------------------------------
extern PACKAGE Tintervals *intervals;
//---------------------------------------------------------------------------
#endif
